Skip to main content
POST
/
v1
/
organizations
/
{organization_id}
/
projects
/
{project_id}
/
compute
/
instances
/
{id}
/
reinstall
[Instances] Reinstall operating system on a compute instance
curl --request POST \
  --url https://api.onetsolutions.net/v1/organizations/{organization_id}/projects/{project_id}/compute/instances/{id}/reinstall \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "image_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "volume_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "ssh_key_ids": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "enable_password_auth": false,
  "software_packages": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "parameters": {}
    }
  ]
}
'

Documentation Index

Fetch the complete documentation index at: https://help.onetsolutions.net/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Use Authorization: Bearer <token> header. Token can be a JWT token or an API key (format: sk-onetsolutions-...).

Path Parameters

id
string<uuid>
required

A UUID string identifying this Instance.

organization_id
string
required

Unique identifier of the organization that owns the resource.

project_id
string
required

Unique identifier of the project containing the resource.

Body

application/json
image_id
string<uuid>
required
volume_id
string<uuid> | null
ssh_key_ids
string<uuid>[] | null
enable_password_auth
boolean
default:false
software_packages
object[]

Response

Instance reinstallation initiated successfully